package org.xshaokuang.loginandemail.login;

// LoginData.java
public class LoginData {
    private String playerName;
    private String password;
    private long login_time;
    private String ip;
    private String QQ;

    public LoginData(String playerName, String password, long login_time, String ip, String QQ) {
        this.playerName = playerName;
        this.password = password;
        this.login_time = login_time;
        this.ip = ip;
        this.QQ = QQ;
    }

    // Getters and Setters
    public String getPlayerName() {
        return playerName;
    }

    public String getPassword() {
        return password;
    }

    public long getLoginTime() {
        return login_time;
    }

    public String getIp() {
        return ip;
    }

    public String getQQ() {
        return QQ;
    }

    public void updateLoginInfo(long login_time, String ip) {
        this.login_time = login_time;
        this.ip = ip;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
